package com.yycx.module.bus.provider.service;

import com.yycx.module.bus.client.entity.BusCustomAddress;
import com.yycx.common.mybatis.base.service.IBaseService;
import com.yycx.module.bus.client.entity.BusDept;

/**
 * 客户收货地址 接口
 *
 * @author flyme
 * @date 2020-08-21
 */
public interface BusCustomAddressService extends IBaseService<BusCustomAddress> {

    /**
     * 查询客户收货地址
     *
     * @param customCode
     * @param address
     * @param linkName
     * @param companyId
     * @return
     */
    BusCustomAddress getByCustomCodeAndName(String customCode, String address, String linkName,Long companyId);

    /**
     * 删除收货地址
     *
     * @param customCode
     * @param companyId
     * @return
     */
    void deleteByCustomCode(String customCode,Long companyId);
}
